#include "mainwindow.h"
#include <QApplication>
#include <QDesktopWidget>

QT_USE_NAMESPACE
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.setAttribute(Qt::AA_UseHighDpiPixmaps);
    a.setOrganizationName("community");
    a.setApplicationName("星火应用商店"); //只有在这儿修改窗口标题才有效
    MainWindow w;
    w.show();
    w.move ((QApplication::desktop()->width() - w.width())/2,(QApplication::desktop()->height() - w.height())/2);
    return a.exec();
}
